package com.huarui.part.model;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.ewaf.framework.model.BaseDataObject;

public class PartUpload extends BaseDataObject {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6531287377673011838L;

	/**
	 * 草稿
	 */
	public static final String STATUS_CREATE = "0";

	/**
	 * 已提交
	 */
	public static final String STATUS_SUBMIT = "1";

	/**
	 * 成功处理
	 */
	public static final String STATUS_SUCCESSED = "2";
	/**
	 * 编码已重复
	 */
	public static final String STATUS_FAILURE = "3";

	/**
	 * 主键　
	 */
	private Integer id;
	/**
	 * 公司ID
	 */
	private Integer companyId;
	/**
	 * 公司名称
	 */
	private String companyName;

	/**
	 * 编码
	 */
	private String code;

	/**
	 * 名称
	 */
	private String name;
	/**
	 * 英文名称
	 */
	private String nameEn;


	/**
	 * 计量单位
	 */
	private String measurementUnit;
	/**
	 * 品牌
	 */
	private String brand;
	/**
	 * 车型
	 */
	private String carModel;
	/**
	 * 产地
	 */
	private String origin;

	/**
	 * 处理信息
	 */
	private String errorMsg;
	/**
	 * 状态
	 */
	private String status;

	public Integer getId() {
		return id;
	}

	public Integer getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNameEn() {
		return nameEn;
	}

	public void setNameEn(String nameEn) {
		this.nameEn = nameEn;
	}

	public String getMeasurementUnit() {
		return measurementUnit;
	}

	public void setMeasurementUnit(String measurementUnit) {
		this.measurementUnit = measurementUnit;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public String getCarModel() {
		return carModel;
	}

	public void setCarModel(String carModel) {
		this.carModel = carModel;
	}

	public String getOrigin() {
		return origin;
	}

	public void setOrigin(String origin) {
		this.origin = origin;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getErrorMsg() {
		return errorMsg;
	}

	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}

}
